package com.assistant.market.modules.market.domain;

import com.assistant.framework.BaseDomain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 问题
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "market_issue")
public class MarketIssue extends BaseDomain<MarketIssue> {

    /**
     * 标题
     */
    private String title;

    /**
     * 备注
     */
    @Column(name = "remarks", columnDefinition = "text")
    private String remarks;

    /**
     * 解决办法
     */
    @Column(name = "resolve", columnDefinition = "text")
    private String resolve;

    /**
     * 作者
     */
    private String author;

    /**
     * 评论
     */
    private String comments;
}
